package com.jimet.process;

import java.util.Hashtable;

public class ContentPageParam {

	private String innerPageRoot;
	private String logActionName;
	private String updateActionName;
	private String onUpdateMsg;
	private String onUpdatePageRoot;
	private String onUpdatePageIx;
	private Hashtable<String, String> listActionMsgHash;
	private Hashtable<String, String> listActionValidFailMsgHash;
	
	public ContentPageParam() {
		this.innerPageRoot		= "";
		this.logActionName		= "";
		this.updateActionName	= "";
		this.onUpdateMsg		= "";
		this.onUpdatePageRoot	= "";
		this.onUpdatePageIx		= "";
		this.listActionMsgHash	= new Hashtable<String, String>();
		this.listActionValidFailMsgHash	= new Hashtable<String, String>();
	}

	public String getInnerPageRoot() {
		return innerPageRoot;
	}

	public void setInnerPageRoot(String innerPageRoot) {
		this.innerPageRoot = innerPageRoot;
	}

	public String getLogActionName() {
		return logActionName;
	}

	public void setLogActionName(String actionName) {
		this.logActionName = actionName;
	}

	public String getUpdateActionName() {
		return updateActionName;
	}

	public void setUpdateActionName(String updateActionName) {
		this.updateActionName = updateActionName;
	}

	public String getOnUpdateMsg() {
		return onUpdateMsg;
	}

	public void setOnUpdateMsg(String onUpdateMsg) {
		this.onUpdateMsg = onUpdateMsg;
	}

	public String getOnUpdatePageRoot() {
		return onUpdatePageRoot;
	}

	public void setOnUpdatePageRoot(String onUpdatePageRoot) {
		this.onUpdatePageRoot = onUpdatePageRoot;
	}

	public String getOnUpdatePageIx() {
		return onUpdatePageIx;
	}

	public void setOnUpdatePageIx(String onUpdatePageIx) {
		this.onUpdatePageIx = onUpdatePageIx;
	}

	public Hashtable<String, String> getListActionMsgHash() {
		return listActionMsgHash;
	}

	public void setListActionMsgHash(Hashtable<String, String> listActionMsgHash) {
		this.listActionMsgHash = listActionMsgHash;
	}
	
	public void putListActionMsg( String strKey , String strMsg ){
		this.listActionMsgHash.put(strKey, strMsg);
	}

	public String getListActionMsg( String strKey ){
		return this.listActionMsgHash.get(strKey);
	}

	public Hashtable<String, String> getListActionValidFailMsgHash() {
		return listActionMsgHash;
	}

	public void setListActionValidFailMsgHash(Hashtable<String, String> listActionMsgHash) {
		this.listActionMsgHash = listActionMsgHash;
	}
	
	public void putListActionValidFailMsg( String strKey , String strMsg ){
		this.listActionValidFailMsgHash.put(strKey, strMsg);
	}

	public String getListActionValidFailMsg( String strKey ){
		return this.listActionValidFailMsgHash.get(strKey);
	}	
	
}
